<%@ page language="java" pageEncoding="utf-8" import="java.util.*"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//Dtd html 4.0 Transitional//EN">
<html>
<head>
<title>讨论区编辑</title>
<%@ include file="/common/meta.jsp"%>
</head>
<body>
<form name="editForm"
	action="${ctx }/forum/forumadmin.action?method:saveForumForum" method=post>
<table class=forumline cellSpacing=1 cellPadding=3 width="100%" border="0">
	<tbody>
		<tr>
			<th class=thhead  colSpan=2 height=25>讨论区管理</th>
		</tr>
		<tr>
			<td class=row1 width="20%"><span class=gen>讨论区名称</span></td>
			<td class=row2><input type="hidden" name="forum.id"
				value="${forum.id}"/> <input class=post style="width: 200px"
				maxLength=200 size=25 name="forum.forumName"
				value="${forum.forumName}"></td>
		</tr>
		<tr>
			<td class=row1 width="38%"><span class=gen>序号</span></td>
			<td class=row2><span class=gensmall><input type="text" name="forum.displayOrder" value="${forum.displayOrder }"/> </span></td>
		</tr>
		
		<tr>
			<td class=row1><span class=gen>分类</span></td>
			<td class=row2><s:select name="forum.category.id"
				value="%{forum.category.id}" list="categories" listKey="id"
				listValue="categoryName" theme="simple" id="forum_category_id" />
			</td>
		</tr>

		<tr>
			<td class=row1><span class=gen>版面说明</span></td>
			<td class=row2><textarea class=post style="width: 100%"
				name="forum.description" rows=10 cols=40>${forum.description}</textarea>
			</td>
		</tr>

		<tr align=middle>
			<td class=catbottom colSpan=2 height=28>
			<input class="mainoption" type="submit" value="保存" name="method:saveForum"/>
			</td>
		</tr>
	</tbody>
</table>
</form>
</body>
</html>
